package com.zt.location.modules.base.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.zt.location.modules.base.dao.HtReadersDao;
import com.zt.location.modules.base.entity.HtReadersEntity;
import com.zt.location.modules.base.service.HtReadersService;



@Service("htReadersService")
public class HtReadersServiceImpl implements HtReadersService {
	@Autowired
	private HtReadersDao htReadersDao;
	
	@Override
	public HtReadersEntity queryObject(Integer readerid){
		return htReadersDao.queryObject(readerid);
	}
	
	@Override
	public List<HtReadersEntity> queryList(Map<String, Object> map){
		return htReadersDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return htReadersDao.queryTotal(map);
	}
	
	@Override
	public void save(HtReadersEntity htReaders){
		htReadersDao.save(htReaders);
	}
	
	@Override
	public void update(HtReadersEntity htReaders){
		htReadersDao.update(htReaders);
	}
	
	@Override
	public void delete(Integer readerid){
		htReadersDao.delete(readerid);
	}
	
	@Override
	public void deleteBatch(Integer[] readerids){
		htReadersDao.deleteBatch(readerids);
	}
	
}
